\hypertarget{namespacevs_1_1net}{\section{vs\-:\-:net Namespace Reference}
\label{namespacevs_1_1net}\index{vs\-::net@{vs\-::net}}
}


Namespace for Network communication classes.  


\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classvs_1_1net_1_1_internet_address}{Internet\-Address}
\begin{DoxyCompactList}\small\item\em Wrapper class for internet address. This class encapsulates the internet address, and provide easy to use interfaces. \end{DoxyCompactList}\item 
class \hyperlink{classvs_1_1net_1_1_net_initializer}{Net\-Initializer}
\begin{DoxyCompactList}\small\item\em Wrapper class for net lib initializing and cleanup. \end{DoxyCompactList}\item 
class \hyperlink{classvs_1_1net_1_1_socket_handle}{Socket\-Handle}
\begin{DoxyCompactList}\small\item\em Base class for T\-C\-P/\-U\-D\-P stream. This class encapsulates the underlying socket. \end{DoxyCompactList}\item 
class \hyperlink{classvs_1_1net_1_1_tcp_acceptor}{Tcp\-Acceptor}
\begin{DoxyCompactList}\small\item\em Wrapper class for acceptor socket. This class is a factory, and accept new socket streams. \end{DoxyCompactList}\item 
class \hyperlink{classvs_1_1net_1_1_tcp_connector}{Tcp\-Connector}
\begin{DoxyCompactList}\small\item\em Wrapper class for connect socket. This class is a factory, and connect peer host, and establish new socket streams. \end{DoxyCompactList}\item 
class \hyperlink{classvs_1_1net_1_1_tcp_stream}{Tcp\-Stream}
\begin{DoxyCompactList}\small\item\em Wrapper class for socket stream. This class can receive/send data via the underlying socket stream, can work with \hyperlink{classvs_1_1net_1_1_tcp_acceptor}{Tcp\-Acceptor} and \hyperlink{classvs_1_1net_1_1_tcp_connector}{Tcp\-Connector}. \end{DoxyCompactList}\item 
class \hyperlink{classvs_1_1net_1_1_udp_stream}{Udp\-Stream}
\begin{DoxyCompactList}\small\item\em Wrapper class for U\-D\-P socket stream. This class can receive/send data via the underlying socket stream. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{namespacevs_1_1net_a02afc27cc9fca9fa328d9e4a9f227432}{typedef int \hyperlink{namespacevs_1_1net_a02afc27cc9fca9fa328d9e4a9f227432}{S\-O\-C\-K\-E\-T\-L\-E\-N\-\_\-\-T}}\label{namespacevs_1_1net_a02afc27cc9fca9fa328d9e4a9f227432}

\begin{DoxyCompactList}\small\item\em Define the socket length data type, it varies from platforms. When compiling, the macros need to be specified. \end{DoxyCompactList}\item 
\hypertarget{namespacevs_1_1net_a8cd20dff70902b20f734a7f958cf99b6}{typedef S\-O\-C\-K\-E\-T \hyperlink{namespacevs_1_1net_a8cd20dff70902b20f734a7f958cf99b6}{S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E}}\label{namespacevs_1_1net_a8cd20dff70902b20f734a7f958cf99b6}

\begin{DoxyCompactList}\small\item\em Define the socket handle in different platforms. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{namespacevs_1_1net_a6487cce6ff27d97b6f70ff15ac06f0ad}{\hyperlink{_net_common_8h_a2eb6f9e0395b47b8d5e3eeae4fe0c116}{I\-N\-L\-I\-N\-E} int \hyperlink{namespacevs_1_1net_a6487cce6ff27d97b6f70ff15ac06f0ad}{Get\-Net\-Error} ()}\label{namespacevs_1_1net_a6487cce6ff27d97b6f70ff15ac06f0ad}

\begin{DoxyCompactList}\small\item\em Wrapper for the error information. \end{DoxyCompactList}\item 
\hypertarget{namespacevs_1_1net_afdcfc9ee66e86db5e5650e397f2b9b43}{\hyperlink{_net_common_8h_a2eb6f9e0395b47b8d5e3eeae4fe0c116}{I\-N\-L\-I\-N\-E} int \hyperlink{namespacevs_1_1net_afdcfc9ee66e86db5e5650e397f2b9b43}{Startup\-Network} (int version)}\label{namespacevs_1_1net_afdcfc9ee66e86db5e5650e397f2b9b43}

\begin{DoxyCompactList}\small\item\em Call this function for initializing before using net lib. \end{DoxyCompactList}\item 
\hypertarget{namespacevs_1_1net_aa78b03ca2460dae1acf4a78f4728973e}{\hyperlink{_net_common_8h_a2eb6f9e0395b47b8d5e3eeae4fe0c116}{I\-N\-L\-I\-N\-E} int \hyperlink{namespacevs_1_1net_aa78b03ca2460dae1acf4a78f4728973e}{Cleanup\-Network} ()}\label{namespacevs_1_1net_aa78b03ca2460dae1acf4a78f4728973e}

\begin{DoxyCompactList}\small\item\em Call this function to cleanup net lib. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{namespacevs_1_1net_a022e70e88d4dc482408183296dc49ab5}{const \hyperlink{namespacevs_1_1net_a8cd20dff70902b20f734a7f958cf99b6}{S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E} \hyperlink{namespacevs_1_1net_a022e70e88d4dc482408183296dc49ab5}{I\-N\-V\-A\-L\-I\-D\-\_\-\-S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E} = I\-N\-V\-A\-L\-I\-D\-\_\-\-S\-O\-C\-K\-E\-T}\label{namespacevs_1_1net_a022e70e88d4dc482408183296dc49ab5}

\begin{DoxyCompactList}\small\item\em Define the invalid socket handle value. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Namespace for Network communication classes. 